//
//  SelectionCell.h
//  diaoyuren
//
//  Created by 钓鱼人 on 15/12/18.
//  Copyright © 2015年 game. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "MBButtonWithFontAdapter.h"
#import "MBLabelWithFontAdapter.h"
#import "MBTextFieldWithFontAdapter.h"
#import "MBTextViewWithFontAdapter.h"
#import "thread_listModel.h"
#import "ZanButton.h"

@protocol SelectionCellDeleget <NSObject>


@optional
/**
 *  点赞代理方法
 */
-(void)PraimSelect:(NSInteger )section;

-(void)PramisNoLogin;
/**
 *  点击评论事件代理方法
 */

-(void)CommentSelect:(NSString *)tid Row:(NSInteger)row;

/**
 *  点击用户名查看个人空间
 *
 *  @param uid 需要传入的uid
 */
-(void)UserSpaceClick:(NSString *)uid;

-(void)PraimFile:(NSString *)message;

@end

@interface SelectionCell : UITableViewCell

@property (weak, nonatomic) IBOutlet MBButtonWithFontAdapter *praiseBtn;


@property (nonatomic,copy) NSString *siteName;

@property (nonatomic,strong) thread_listModel *model;

@property (nonatomic,weak) id<SelectionCellDeleget>deleget;

@property (nonatomic,assign) NSInteger section;

@property (nonatomic,copy) NSString *tid;
@property (nonatomic,copy) NSString *fid;
@property (nonatomic,copy) NSString *style;
@property (nonatomic,copy) NSString *formHash;

@property (nonatomic,assign) CGFloat cellHight;

@end
